﻿namespace BlueWePush.Service.WxModel.MarkdownTemplate
{
    /// <summary>
    /// markdown模板
    /// </summary>
    public class MarkDownMessageModel
    {
        /// <summary>
        /// 成员ID,多个用"|"分割,上限1000名
        /// 全部人员使用"@all"
        /// </summary>
        public string Touser { get; set; }

        /// <summary>
        /// 非必要
        /// 部门ID,多个用"|"分割,上限100
        /// @all 时无效
        /// </summary>
        public string Toparty { get; set; } = null;

        /// <summary>
        /// 非必要
        /// 标签ID,多个用"|"分割,上限100
        /// @all 时无效
        /// </summary>
        public string Totag { get; set; } = null;

        /// <summary>
        ///企业应用ID,INT
        /// </summary>
        public int Agentid { get; set; }

        public string Msgtype { get; } = "markdown";

        /// <summary>
        /// 模板内容
        /// </summary>
        public MarkDownContent markdown { get; set; }
    }

    /// <summary>
    /// 模板内容
    /// </summary>
    public class MarkDownContent
    {
        public string Content { get; set; }
    }
}